package com.maserb.monitor.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


/**   
 * @Title: Entity
 * @Description: 用户操作日志
 * @author onlineGenerator
 * @date 2018-01-14 13:56:22
 * @version V1.0   
 *
 */
@Data
@Entity
@Table(name = "jw_opration_log")
@SuppressWarnings("serial")
public class OprationLog implements java.io.Serializable {
	@GenericGenerator(name = "idGenerator", strategy = "uuid")
	@GeneratedValue(generator = "idGenerator")
	@Id
	/**操作时间*/
	private Date optDate;
	/**ip*/
	private String ip;
	/**用户id*/
	private String userId;
	/**用户名*/
	private String userName;
	/**操作内容*/
	private String opt;
	/**备注*/
	private String remarks;
	/**
	 * 操作显示时间
	 */
	private String fmtCreateDate;

}
